<?php
/**
 * Created by PhpStorm.
 * User: Guojunchen
 * Date: 2018/7/6
 * Time: 11:35
 */

namespace app\common\validate;

use think\Validate;

class UserInfo extends Validate
{
    protected $rule = [
        'username' => 'require',
    ];

    protected $message = [
        'username.require' => '用户名不能为空',
    ];
}